<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <table border="1" style="width:90%">
        <tr>
            <td>No.</td>
            <td>id</td>
            <td>title</td>
            <td>username</td>
        </tr>

        <% for(let item of data){ %>
        <tr>
            <td><%=item.no%></td>
            <td><%=item.itemid%></td>
            <td><%=item.title%></td>
            <td><%=item.username%></td>
            </td>
        </tr>
        <% } %>
    </table>
</body>

</html>